import { knapSack } from './knapSack.js'
import { longestSubString } from './longestSubString.js'

// const result = knapSack([2, 2, 6, 5, 4], [6, 3, 5, 4, 6], 10)

// console.log(`背包最多放下价值为 ${result} 的货物`)

console.log(longestSubString('acbaed', 'abeadf'))